package com.itheima.demo.demo13;

import java.util.ArrayList;
import java.util.stream.Stream;

public class StramCosum {
    public static void main(String[] args) {
        ArrayList<String>list=new ArrayList<>();
        list.add("q");
        list.add("w");
        Stream<String> stream = list.stream();
        stream.forEach(s->System.out.println(s));

    }
}
